﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace VentasTelcelMAC.UI
{
    using VentasTelcelMAC.Engine;

    public partial class Form1 : Form
    {
        PrepaidInfo prePaidInfo;
        

        public Form1()
        {
            prePaidInfo = new PrepaidInfo();
            InitializeComponent();
           
        }

        private void button1_Click(object sender, EventArgs e)
        {
              int test = 0;

            int tt = 34 / test;
        }

        private void btnExit_Click(object sender, EventArgs e)
        {
            Dispose();
            this.Close();
        }

        private void btnImportSales_Click(object sender, EventArgs e)
        {
            try
            {
                prePaidInfo.ImportFromExcel();
            }
            catch (Exception ex)
            { MessageBox.Show(ex.Message); }
        }
    }
}
